#ifndef _OPENCAS_DESCTX_H
#define _OPENCAS_DESCTX_H
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _desctx desctx_t;
struct _desctx {
  int16_t  pmtpid;
  int16_t  progno;
  int16_t  vidpid;
  int16_t  audpid;

  int      freq;
  int      symrate;
  uint8_t  qamsize;
};

desctx_t *desctx_dup(desctx_t *desctx);
void desctx_free(desctx_t *desctx);

#ifdef __cplusplus
}
#endif

#endif
